$line-color: #4A90E2;

@mixin vertical-line($height) {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: $height;
  background: $line-color;
}

@mixin horizontal-line {
  content: '';
  position: absolute;
  bottom: 20px;
  width: 100%;
  height: 2px;
  background: $line-color;
}

.flow-arrow {
  position: absolute;
  .arrow{
    position: absolute;
    bottom: 0;
    i {
      color: $line-color;
      font-size: 16px;
      position: relative;
      top: 5px;
    }
    &:before {
      @include vertical-line(20px);
      left: 7px;
    }
  }
  &.straight {
    &:before {
      @include vertical-line(100%);
      left: -1px;
    }
    .arrow {
      left: -8px;
    }
  }

  &.left {
    &:before {
      @include vertical-line(calc(100% - 20px));
      right: -1px;
    }
    &:after {
      @include horizontal-line;
    }
    .arrow {
      left: -8px;
    }
  }

  &.right {
    &:before {
      @include vertical-line(calc(100% - 20px));
      left: -1px;
    }
    &:after {
      @include horizontal-line;
    }
    .arrow {
      right: -8px;
    }
  }

}
